-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Archdesc exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


did : SelectionSet decodesTo Qore.Object.Did -> SelectionSet decodesTo Qore.Object.Archdesc
did object_ =
    Object.selectionForCompositeField "did" [] object_ identity


archdescoption : SelectionSet decodesTo Qore.Union.ArchdescoptionUnion -> SelectionSet (List decodesTo) Qore.Object.Archdesc
archdescoption object_ =
    Object.selectionForCompositeField "archdescoption" [] object_ (identity >> Decode.list)


id : SelectionSet (Maybe String) Qore.Object.Archdesc
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Archdesc
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Archdesc
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Archdesc
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Archdesc
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


localtype : SelectionSet (Maybe String) Qore.Object.Archdesc
localtype =
    Object.selectionForField "(Maybe String)" "localtype" [] (Decode.string |> Decode.nullable)


relatedencoding : SelectionSet (Maybe String) Qore.Object.Archdesc
relatedencoding =
    Object.selectionForField "(Maybe String)" "relatedencoding" [] (Decode.string |> Decode.nullable)


otherlevel : SelectionSet (Maybe String) Qore.Object.Archdesc
otherlevel =
    Object.selectionForField "(Maybe String)" "otherlevel" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Archdesc
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


level : SelectionSet String Qore.Object.Archdesc
level =
    Object.selectionForField "String" "level" [] Decode.string


base : SelectionSet (Maybe String) Qore.Object.Archdesc
base =
    Object.selectionForField "(Maybe String)" "base" [] (Decode.string |> Decode.nullable)
